using System.Windows.Forms;

namespace RxjhServer
{
	internal class NoFlashListView : ListView
	{
		public NoFlashListView()
		{
			SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, value: true);
			SetStyle(ControlStyles.EnableNotifyMessage, value: true);
		}

		protected override void OnNotifyMessage(Message m)
		{
			if (m.Msg != 20)
			{
				base.OnNotifyMessage(m);
			}
		}
	}
}
